package cn.yitun.chat.yitunserverimapicore.business.group.service;

import cn.yitun.chat.yituncommonmessage.Info;
import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudService;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.group.GroupJoinApplyDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.group.GroupJoinVerifyAnswerDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.group.GroupJoinApplyInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.group.GroupJoinApplyVo;

import java.util.List;

/**
 * 
 * Date 2019-01-23 22:01:34<br>
 * Description
 * 
 * @author yitun
 * @since 1.0.0
 */
public interface GroupJoinService
		extends CrudService<GroupJoinApplyDto, GroupJoinApplyInfo, GroupJoinApplyVo>{


	/**
	 * 
	 * Date 2019-01-24 22:24:41<br>
	 * Description 用户申请加入群
	 * 
	 * @author yitun
	 * @param request
	 * @param answerList
	 * @return
	 * @since 1.0.0
	 */
	Info joinApply(GroupJoinApplyDto request, List<GroupJoinVerifyAnswerDto> answerList);

	Info joinHandle(GroupJoinApplyDto handle);

}
